projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58f6cbe
)
Handle deletion of opacity property too
author
Po Lu
<luangruo@yahoo.com>
Tue, 10 May 2022 06:40:26 +0000
(14:40 +0800)
committer
Po Lu
<luangruo@yahoo.com>
Tue, 10 May 2022 06:40:26 +0000
(14:40 +0800)
* src/xterm.c (handle_one_xevent): Clear `alpha' frame parameter
when opacity prop is gone or invalid.
src/xterm.c
patch
|
blob
|
history
diff --git
a/src/xterm.c
b/src/xterm.c
index 5818eb1d02e3ba08780419fb722dbd93d4fe1234..c22a901ff4c0ac5483a4e3c728255f178d4ee2a7 100644
(file)
--- a/
src/xterm.c
+++ b/
src/xterm.c
@@
-14856,6
+14856,8
@@
handle_one_xevent (struct x_display_info *dpyinfo,
{
f->alpha[0] = 1.0;
f->alpha[1] = 1.0;
+
+ store_frame_param (f, Qalpha, Qnil);
}
else
{
@@
-14878,6
+14880,13
@@
handle_one_xevent (struct x_display_info *dpyinfo,
store_frame_param (f, Qalpha, make_float (f->alpha[0]));
}
+ else
+ {
+ f->alpha[0] = 1.0;
+ f->alpha[1] = 1.0;
+
+ store_frame_param (f, Qalpha, Qnil);
+ }
}
if (tmp_data)